﻿<Window x:Class="TicTacToe.UI.TurnListWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Icon="..\3dtictactoe.png" Title="Turn List" Height="325" Width="225"
        WindowStyle="ToolWindow" x:ClassModifier="internal" Topmost="True">
    <ListBox Name="turnListBox">
        <ListBox.ItemTemplate>
            <DataTemplate>
                <TextBlock FontSize="18" Margin="2">
                    <Run Text="[" Foreground="Gray" />
                    <Run Text="{Binding Path=Index}" />
                    <Run Text="]" Foreground="Gray" />
                    <Run Text="{Binding Path=PlayerName}" FontWeight="Bold" Foreground="{Binding Path=PlayerColor}" />
                    <Run Text="at" Foreground="Gray" />
                    <Run Text="{Binding Path=TurnPosition}" />
                </TextBlock>
            </DataTemplate>
        </ListBox.ItemTemplate>
    </ListBox>
</Window>
